using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Abp.Application.Services.Dto;
using Abp.AutoMapper;
using Abp.Domain.Entities.Auditing;
using System.ComponentModel.DataAnnotations;

namespace Sunlit.House.Buy.Dto
{
    [AutoMap(typeof(GroupBuyType))]
    public class GroupBuyTypeDto: AuditedEntityDto<long>
    {
        /// <summary>
        /// 类型名称，例如：三人团
        /// </summary>
        [Required]
        [StringLength(32)]
        public string Name { get; set; }
        /// <summary>
        /// 成团人数
        /// </summary>
        public int NeedCount { get; set; }
        /// <summary>
        /// 团长获利
        /// </summary>
        public int ChiefProfit { get; set; }
        /// <summary>
        /// 团员获利
        /// </summary>
        public int MemberProfit { get; set; }
        /// <summary>
        /// 成团期限
        /// </summary>
        public int DayLimit { get; set; }
        /// <summary>
        /// 说明
        /// </summary>
        public string Info { get; set; }

    }
}
